package com.example.seckill.mapper;

import com.example.seckill.domain.ItemStockDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.example.seckill.domain.ItemStock
 */
public interface ItemStockMapper extends BaseMapper<ItemStockDO> {
    int decrease(@Param("itemId") Integer itemId, @Param("amount") Integer amount);

}




